﻿using HCQ2_Model;
using HCQ2_Model.DocModel.APIParam;
using HCQ2_Model.VRDD.InputDto;
using HCQ2_Model.VRDD.InputDto._0427;
using HCQ2_Model.VRDD.OutputDto._0427;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_IDAL
{
    /// <summary>
    ///  度度圈好友申请数据接口
    /// </summary>
    public partial interface IDD_FriendApplyDAL
    {
        /// <summary>
        ///  获取好友申请列表
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        Task<List<OutApplyFriend>> GetApplyFirend(DDBaseUser param);
        /// <summary>
        ///  获取匹配手机通讯好友
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        List<OutFriendPhone> GetFriendByPhone(QueryFriendPhone param);
        /// <summary>
        ///  获取我的通讯录好友列表
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        List<OutMyFriend> GetMyFriend(DDBaseUser param);
        /// <summary>
        ///  获取人脉详情
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        OutConnection GetOutConnectionDetial(QueryConnectionDetial param, string userId, string ddId);
        /// <summary>
        ///  获取我的人脉
        /// </summary>
        /// <param name="param">查询参数</param>
        /// <param name="user">当前登录对象信息</param>
        /// <returns></returns>
        List<OutMyConnection> GetMyConnection(QueryMyConnection param, DD_User user);
        /// <summary>
        ///  获取人脉列表
        /// </summary>
        /// <param name="param"></param>
        /// <param name="user_id"></param>
        /// <returns></returns>
        List<ConnectionListOutput> GetConnectionList(ConnectionListInput param, int user_id);
        /// <summary>
        ///  获取密友类别
        /// </summary>
        /// <param name="user_id"></param>
        /// <returns></returns>
        List<OutputMyCloseType> GetMyCloseType(int user_id);
        /// <summary>
        ///  更新度度圈2度人脉
        /// </summary>
        void UpdateDD2(int dd_id1, int dd_id2);
        /// <summary>
        ///  更新度度圈3度人脉
        /// </summary>
        void UpdateDD3(int dd_id1, int dd_id2);
    }
}